package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "receive_sounds")
public class ReceiveSounds implements java.io.Serializable {

    private static final long serialVersionUID = -3136732836884933961L;

    private ObjectId id; //主键id
    private Long userId;

    private ObjectId publishId; //被接收的语音id
    private Long publishUserId; //被接收的语音发布人的Id
    private Boolean isLike; //是否喜欢
    private Long created; //该条记录创建时间
    private Long date; //接收的日期
}